<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>26_浮动-脱离文档流</title>

        <style>

            #d1 {
                width: 200px;
                height: 80px;
                background-color: red;
            }

            #d2 {
                width: 200px;
                height: 80px;
                background-color: green;
                float: left;
            }

            #d3 {
                width: 300px;
                height: 100px;
                background-color: yellow;
            }

        </style>
    </head>
    <body>
        <div id="d1"></div>
        <div id="d2"></div>
        <div id="d3"></div>
    </body>
</html>